package com.mes.biz.service;

import com.mes.common.core.service.BaseService;
import com.mes.biz.domain.BizOrderAttach;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 销售单附件Service接口
 * @author hwg
 * @email hwg
 * @date 2023-05-15
 */
public interface BizOrderAttachService extends BaseService<BizOrderAttach> {

    /**
     * 根据订单ID查询附件信息
     * @param orderId
     * @return
     */
    List<BizOrderAttach> getBizOrderAttachByOrderId(String orderId);

    List<BizOrderAttach> getAttachByOrderIdWithType(String orderId, Integer type);

    int deleteBizOrderAttachByIds(String[] ids, String delFlag);
}
